package main

import (
	"fmt"
	"io/ioutil"
)

func main() {
	filename := "doc/001.txt"
	bytes, err := ioutil.ReadFile(filename)
	if err != nil {
		fmt.Println("read file error.", err)
		return
	}
	data := string(bytes)
	fmt.Printf("content is : %s\n", data)

}
